package com.dz.goods.service;

import com.dz.common.base.BasePageResultsVO;
import com.dz.goods.domain.entity.Spec;
import com.dz.goods.domain.vo.SpecParamsVO;
import com.dz.goods.domain.vo.SpecResultsVO;

import java.util.List;


public interface SpecService {
    Spec findById(Long id)throws Exception;
    Spec add(Spec spec)throws Exception;
    void delete(Long id)throws Exception;
    Spec edit(Spec spec)throws Exception;
    BasePageResultsVO<SpecResultsVO> getSpecList(SpecParamsVO vo)throws Exception;
    List<SpecResultsVO> findByCategoryId(Long categoryid)throws Exception;

}